const client ={}

client.isIOS=() =>{
    return (/iphone/i).test(navigator.userAgent.toLowerCase());
}
client.isWeixin = () => {
    return navigator.userAgent.toLowerCase().indexOf('micromessenger') !== -1;
};

export default client
